package practice;

/**
 * @author: snail_mount
 * @date: 20/1/2 23:38
 * @description:
 */
public class Demo02 {
    //    1、有int a = 10, b = 20;两个数据，要求将两个int类型空间中的值互换，
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        int c = a;
        a = b;
        b = c;
        System.out.println(a);
        System.out.println(b);
    }
}
